package cn.com.suiyi.shixingshengxian.commoditydetail;

import cn.com.suiyi.shixingshengxian.base.IBaseModel;
import cn.com.suiyi.shixingshengxian.base.IBaseView;
import cn.com.suiyi.shixingshengxian.commoditydetail.bean.Commodity;
import cn.com.suiyi.shixingshengxian.commoditydetail.bean.CommodityPic;

/**
 * Created by hansen on 2016/7/22.
 */
public class CommodityContract {
    interface ComModel extends IBaseModel{
        void getCommodity(String path);
        void getCommodityPic(String str);
    }
    interface ComView extends IBaseView{
        void onCommodity(Commodity commodity);
        void onCommodityPic(CommodityPic commodityPic);
        void onFail(String str);
    }
}
